'use strict';

/** @type {import('sequelize-cli').Migration} */
module.exports = {
    async up(queryInterface, Sequelize) {
        await queryInterface.bulkInsert('Audits', [
            {
                title: "未审核",
                createdAt: new Date(),
                updatedAt: new Date()
            },
            {
                title: "审核中",
                createdAt: new Date(),
                updatedAt: new Date()
            },
            {
                title: "已通过",
                createdAt: new Date(),
                updatedAt: new Date()
            }
            ,
            {
                title: "未通过",
                createdAt: new Date(),
                updatedAt: new Date()
            }
        ], {});
    },

    async down(queryInterface, Sequelize) {
        /**
         * Add commands to revert seed here.
         *
         * Example:
         * await queryInterface.bulkDelete('People', null, {});
         */
        await queryInterface.bulkDelete('Audits', null, {});
    }
};
